package com.linln.modules.system.enums;

public enum ConstantEnum {


    CLOSESTATUS("关闭状态","0"),
    TURNON("开启状态","1"),
    ADMINID("管理员角色id","1"),
    REVIEWERID("审核人员角色id","2"),
    SPONSORID("发起人员角色id","3"),


    DUPLICATNAME("名称已被使用","0"),
    DELSUCCESS("删除成功","1"),
    DELFAIL("删除失败","0"),
    ADDSUCCESS("添加成功","1"),
    ADDFAIL("添加失败","0"),
    UPDATASUCCESS("修改成功","1"),
    UPDATAFAIL("修改失败","0"),
    SAVESUCCESS("保存成功","1"),
    SAVEFAIL("保存失败","0"),
    NOACTION("无更新操作","2"),
    AUDITWAIT("待审核","0"),
    AUDITADOPT("审核通过","1"),
    AUDITFAIL("审核失败","2"),
    PARAMETERERROR("参数错误请检查","0"),
    CLEAK("店铺店员","5"),
    STOREMANAGER("店铺经理","3")
    ;









    private final String name;
    private final String value;


    ConstantEnum(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName(){
        return name;
    }

    public String getValue(){
        return value;
    }
}
